﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Data.Entity;
using System.Linq;
using System.Web;


namespace SearchWebApplication.Models
{
    public class Contact
    {
        [Key]
        public int ID { get; set; }
        public string name { get; set; }
        public string address { get; set; }
        public string city { get; set; }
        public string state { get; set; }
        public string phone { get; set; }
        public string website { get; set; }
        public string email { get; set; }
        public string services { get; set; }
        public string keywords { get; set; }
        public string description { get; set; }
    }

    public class ContactContext : DbContext
    {
        public DbSet<Contact> Contacts { get; set; }

        public ContactContext()
            : base("name = ContactContext")
        {
        }
    }

    public class stringWraper
    {
        public string str { get; set; }
    }
}